Developer Documentation

QuickTime 4 API Documentation

Programming With QuickTime VR

| Previous | Chapter Contents | Chapter Top | Next |

Correction Modes

The correction mode of a panorama (specified by the kQTVRImagingCorrection constant) specifies a type of image correction to be applied when imaging a panoramic view. You can pass one of these values to specify a correction mode:

enum {
    kQTVRNoCorrection                               = 0,
    kQTVRPartialCorrection                          = 1,
    kQTVRFullCorrection                             = 2
};

Constant descriptions

kQTVRNoCorrection
Apply no warping. The source panorama is reproduced directly, with no image correction.
kQTVRPartialCorrection
Apply one-dimensional (horizontal) warping. This kind of correction is often sufficient, especially for outdoor scenes.
kQTVRFullCorrection
Apply two-dimensional warping. This correction mode produces perspectively correct images from the source panorama.

Future versions of QuickTime VR may employ warping methods that interpret these correction modes differently. You can always assume, however, that the kQTVRNoCorrection mode performs no image correction at all, and that the kQTVRFullCorrection mode performs more correction than kQTVRPartialCorrection (and hence requires more time to construct the resulting image).


© 1998 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |